﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace BizzCore
{
    [Table("AuditLog")]
    public class AuditLogEntity
    {
        [Key]
        public int Id { get; set; }

        public DateTime Date { get; set; }

        [MaxLength(255)]
        public string Thread { get; set; }

        [MaxLength(50)]
        public string Level { get; set; }

        [MaxLength(255)]
        public string Logger { get; set; }

        [MaxLength(4000)]
        public string Message { get; set; }

        [MaxLength(2000)]
        public string Exception { get; set; }

        
    }
}
